package com.klf.po;

import java.util.HashSet;
import java.util.Set;

/**
 * SysRoles entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysRoles implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private String state;
	private String remark;
	private Set sysUsersroleses = new HashSet(0);
	private Set sysRolespopedoms = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysRoles() {
	}

	/** full constructor */
	public SysRoles(String name, String state, String remark,
			Set sysUsersroleses, Set sysRolespopedoms) {
		this.name = name;
		this.state = state;
		this.remark = remark;
		this.sysUsersroleses = sysUsersroleses;
		this.sysRolespopedoms = sysRolespopedoms;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getSysUsersroleses() {
		return this.sysUsersroleses;
	}

	public void setSysUsersroleses(Set sysUsersroleses) {
		this.sysUsersroleses = sysUsersroleses;
	}

	public Set getSysRolespopedoms() {
		return this.sysRolespopedoms;
	}

	public void setSysRolespopedoms(Set sysRolespopedoms) {
		this.sysRolespopedoms = sysRolespopedoms;
	}

}